package com.solo.entity;

public class Category {
    private Long id;

    private String name;
    private String orderNum;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Category(String name, String orderNum){
        this.name = name;
        this.orderNum = orderNum;
    }

    public Category(long id,String name, String orderNum){
        this.id = id;
        this.name = name;
        this.orderNum = orderNum;
    }

    public Category(long id){
        this.id = id;
    }
}
